﻿using HiSport.Core;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HiSport.Core.Entity.Pay
{

    /// <summary>
    ///支付记录详情
    /// </summary>
    [SugarTable(null, "三方支付记录")]
    public class PayTripartiteRecord : EntityBase
    {

        /// <summary>
        /// 订单ID
        /// </summary>
        [SugarColumn(ColumnDescription = "支付记录Id", DefaultValue = "0", IsNullable = true, Length = 64)]
        public long PayRecordId { get; set; }

        
        /// <summary>
        /// 订单
        /// </summary>
        [SugarColumn(ColumnDescription = "订单Id", DefaultValue = "0", IsNullable = true, Length = 64)]
        public long OrderId { get; set; }


        [SugarColumn(ColumnDescription = "请求", IsNullable = true, ColumnDataType = "text")]
        public string Request { get; set; }

        [SugarColumn(ColumnDescription = "结果",  IsNullable = true, ColumnDataType = "text")]
        public string Result { get; set; }

    }
}
